using System;
using NUnit.Framework;
using DreamPark;

namespace Tests_Parking
{
	[TestFixture()]
	public class Test_Acces
	{
		[Test()]
		public void Test_Instanciation () {
			Teleporteur t1 = new Teleporteur(1);
			Teleporteur t2 = new Teleporteur(2);
			Acces acces = new Acces(1, t1, t2);
			
			Assert.AreEqual(1, acces.NumeroAcces);
			Assert.AreEqual(t1, acces.Teleporteur1);
			Assert.AreEqual(t2, acces.Teleporteur2);
		}
	}
}

